import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';


@Entity('doges')
export class doges{
    @PrimaryGeneratedColumn({comment:'主key'})
    id: number;

    @Column({ comment: '姓名' })
    name: string;

    @Column({ comment: '年龄' })
    age: number;

}